$font-height: 25px;
$box-width: 320px;
$box-height: 150px;

%margin-auto {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto; 
}
.alert-danger {
    color: $danger-text;
    background-color: $danger-bg;
    border: 1px solid $danger-border;
    height: $box-height;
    text-align: center;
    line-height: $font-height;
    padding: (($box-height)-($font-height)*2)/2;
}
.alert-danger-count {
    @extend %margin-auto;
    @extend .alert-danger;
    width: $box-width;
    a {
        text-decoration: underline;
    }
}
.alert-danger-situ {
    @extend .alert-danger;
    width: 100%;
}